<template>
    <div class="main">
        <div class="left">
            <p class="text_inner">口袋折叠设计</p>
            <p class="text_inner">格调一手掌握</p>
        </div>
        <div class="right">
            <img class="golden" src="../../assets/golden.png" alt="" />
            <img class="black" src="../../assets/black.png" alt="" />
            <img class="red" src="../../assets/red.png" alt="" />
        </div>
    </div>
</template>
<script>
export default {
    data() {
        return {
            
        };
    },
    methods: {
        rotate() {
            const gloden = document.querySelector(".gloden");
            const black = document.querySelector(".black");
            const red = document.querySelector(".red");
        },
    },
    created() {
        this.rotate();
    },
};
</script>
<style scoped lang="scss">
.main {
    height: calc(100vh - 47px);
    display: flex;
    align-items: center;
    .left {
        width: 527px;
        .text_inner {
            font-size: 87px;
        }
    }
    .right {
        position: relative;
        width: 1000px;
        height: 760px;
        left: -200px;
        .golden {
            position: absolute;
            bottom: 0;
            left: 0;
            z-index: 99;
        }
        .black {
            position: absolute;
            bottom: 350px;
            left: 200px;
            z-index: 98;
        }
        .red {
            position: absolute;
            bottom: 420px;
            left: 550px;
            z-index: 2;
        }
        img {
            width: 450px;
            height: 450px;
            transform: rotate(10deg);
        }
    }
}
</style>
